﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CollegeWebsite.Models;

namespace CollegeWebsite.Controllers
{
    public class FacilityController : Controller
    {
        //
        // GET: /Facility/
        CollegeDataContext _dataContext = new CollegeDataContext();

        public ActionResult Index()
        {
            var facilities = _dataContext.Facilities.Select(f => f).ToList();
            return View(facilities);
        }

    }
}
